package com.aidex.biz.service;

import com.aidex.biz.domain.TempShareRule;
import com.aidex.common.core.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

/**
 * 分配规则临时表Service接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-04-03
 */
public interface TempShareRuleService extends BaseService<TempShareRule> {

    /**
     * 批量删除分配规则临时表
     *
     * @param ids 需要删除的分配规则临时表ID集合
     * @return 结果
     */
    public int deleteTempShareRuleByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param tempShareRule 分配规则临时表
     * @return 结果
     */
    public int findMaxSort(TempShareRule tempShareRule);

    @Transactional(readOnly = false)
    public int deleteTempShareRuleByRuleIds(String[] ids);


    public int deleteTempShareRuleByRuleIdLaiyuan(TempShareRule tempShareRule);
}
